<template>
<div>
    <button>
        <img :src="imgSrc" >
        <span v-text="title"></span>
        </button>
</div>
</template>
<script>
export default {
    data(){
        return{
             imgSrc:'/src/assets/invoice_4@3x.png',
             title:'统计分析'
        }
    },
    mounted(){
        //获取传值ref
    }
}
</script>
<style scoped>
div{
  position: relative;
  margin: 0 ;
  display: inline-block;
  padding: 0;
}
button{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border: none;
    font-size: 16px;

    
}
img{
    width: 60%;
    height: 60%;
    display: block;
    margin: auto;
    margin-top: 5px;
    border-radius: 50%;
  
}
span{
    width: 100%;
    height: 20%;
    display: inline-block;
    margin-top: 15px;
    color: red;
    



}
</style>


